@import url(reset.css);
@import url(./lib/animation.css);
/**
    @author 黄小海
    @Date 2018-04-15
*/
/*页面架构*/
.ui_page_wrap,
.ui_page_hd,
.ui_page_bd,
.ui_page_ft {position: absolute;left: 0;width: 100%;}
.ui_page_wrap,
.ui_page_bd,
.ui_page_hd {top: 0;}
.ui_page_wrap {height: 100%;overflow: hidden;}
.ui_page_bd {bottom: 0;overflow-x: hidden;overflow-y:auto;-webkit-scrolling-overflow:touch;}
.ui_page_ft {bottom: 0}
.ui_page_hd {height:45px;line-height: 45px;font-size: 18px;text-align: center;background-color: #fff}
.ui_page_hd:after {position: absolute;content: '';left: 0;right: 0;bottom: 0;border-bottom: 1px solid #ccc;transform:scaleY(.5);
}
.ui_page_hd+.ui_page_bd {top: 45px}
.footer_space {bottom: 50px;}
.ui_back {position: absolute;left: 15px;top: 50%;margin-top: -15px;width: 30px;height: 30px;}
.ui_back:after {position: absolute;content: '';left: 5px;top: 50%;width: 12px;height: 12px;
     border-top: 1px solid #000;border-left: 1px solid #000;margin-top: -8px;
    transform:rotate(-45deg);
}

/*标题栏*/
.ui_titleBar_wrap {padding: 10px}
.ui_titleBar {line-height: 1;border-left: 3px solid var(--primary_color);
    padding-left: 5px;
}
.ui_legend {margin-left: 15px;margin-right: 15px}
.ui_legend legend {padding:20px 10px 15px 10px;text-align: center;font-size: 17px;}
.ui_legend legend:before,
.ui_legend legend:after {content: '';display: inline-block;vertical-align: middle;
    width: 50px;border-top: 1px solid #ccc;
}
.ui_legend legend:before {margin-right: 10px;}
.ui_legend legend:after {margin-left: 10px;}

/*搜索*/
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none;
}
.ui_search_box {position: relative;padding: 10px;background-color:#EFEFF4;}
.ui_search_box.bg_white {background-color: #fff}
.ui_search_box.bg_white .ui_search_ipt {background-color:#EFEFF4;}
.ui_search_box,
.ui_search_ipt {height: 30px;}
.ui_search_ipt {width: 100%;padding-left: 10px;}
.ui_search_item,
.ui_search_ipt,
.ui_search_label {border-radius: 5px;
    background-clip: padding-box;    
    box-sizing: border-box;background-color: #fff;
}
.ui_search_ipt.ui_search_icon {padding-left: 35px;background-color: #fff;}
.ui_search_icon {    
    background: url(../images/icon/search.png) no-repeat 10px;
    background-size: 17px;   
}
.ui_search_condition,
.ui_search_action,
.ui_search_close {
    display: block;width: 30px;height: 30px;
}
.ui_search_close {display: none}
.ui_search_label {position: absolute;left: 10px;right: 10px;top: 10px;bottom: 10px;text-align: center;color: #888;}
.ui_search_label span {display: inline-block;vertical-align: middle;}
.ui_search_cancel {padding-left: 10px;color: var(--primary_color);line-height: 30px}
.ui_search_close {background: url(../images/icon/close.png) no-repeat center;
    background-size: 17px;
}
.ui_search_menu {
  padding-left: 10px;padding-top: 2px;
  line-height: .5;
}
.ui_search_menu_i {
  display: inline-block;
  vertical-align: middle;margin-left: 10px;
  line-height: .1;
  background-color: #bebebe;
  height: 2px;
  width: 15px;border-radius: 3px;
}
.ui_search_menu_i::before {
  content: '';margin-left: -5px;margin-top: -2px;
  display: inline-block;vertical-align: middle;
  background-color: #aeaeae;
  height: 3px;
  width: 3px;border-radius: 50%
}

/*按钮*/
.ui_btn {height: 45px;display: block;width: 100%;text-align: center;font-size: 16px;border-radius: 3px;background-clip: padding-box;
    color: #fff;background-color: var(--primary_color);border:1px solid var(--primary_color);
}
.ui_success_btn {background-color: var(--success_color);border:1px solid var(--success_color);}
.ui_warning_btn {background-color: var(--warning_color);border:1px solid var(--warning_color);}
.ui_danger_btn {background-color: var(--danger_color);border:1px solid var(--danger_color);}
.ui_default_btn {background-color: #e0e0e0;color: #000;border:1px solid #e0e0e0;}

.ui_btn_group {padding-left: 10px;padding-top: 10px;padding-bottom: 10px;background-color: #fff}
.ui_btn_group>li {padding-right: 10px}
.ui_btn_box {padding:15px 10px}

.ui_btn.ui_inline {display: inline-block;width: auto;padding-left: 15px;padding-right: 15px} 
a.ui_btn {line-height: 45px;}
.ui_loading_ico {width: 20px;height: 20px;display: inline-block;background: url(../images/icon/loading.svg) no-repeat;
    background-size: contain;
}
.ui_btn .ui_loading_ico {margin-right: 10px;}

.sticky_bottom_btn,
.ui_back_top {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-clip: padding-box;color: #fff;
  background-color: var(--primary_color);
  font-size: 18px;
  box-shadow: 0 0 5px #999 
} 
.sticky_bottom_btn {
  position: absolute;left: calc(100% - 90px);top: calc(100% - 90px);z-index:99;
  width: 60px;height: 60px;
}
.ui_back_top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  transform: scale(0);
}
.ui_back_top_ico.ui_arrow_up::after {
  border-width: 2px;
  border-color: transparent #fff #fff  transparent;
} 

/*尺寸*/
.ui_btn[size="sm"] {height: 35px;}
.ui_btn[size="xs"] {height: 25px;font-size: 12px;}
/*镂空*/
.ui_btn[skin="plain"] {
    background-color: transparent;
}
.ui_btn[skin="plain"] {color:var(--primary_color);}
.ui_warning_btn[skin="plain"] {color: var(--warning_color)}
.ui_danger_btn[skin="plain"] {color: var(--danger_color)}
.ui_default_btn[skin="plain"] {color: #000;background-color: #fff}
.ui_btn:active {opacity: .9;}

/* image */
.ui_image {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.ui_fit_contain {
  object-fit: contain;
}
.ui_fit_cover {
  object-fit: cover;
}
.ui_fit_scale_down {
  object-fit:scale-down;
}
.ui_fit_none {
  object-fit:none;
}
.ui_image_loading,
.ui_img_error {  
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui_image_loading {
  background: url(../images/icon/img-error.svg) no-repeat center #f7f7f7;
  background-size: 30px;
}
.ui_img_error {
  background-color: var(--primary_color);
  color: #fff;
  font-size: 20px;
}

/*标签*/
[class^='ui_tag'] {
    display:inline-block;
    padding:2px 5px;
    line-height:1;
    font-size: 12px;
}
.ui_tag_lg {
    padding:4px 6px;
    font-size: 14px;
}
.ui_tag_primary {
    background-color:var(--primary_color);
    border:1px solid var(--primary_color);color: #fff;
}
.ui_tag_success {
    background-color:var(--success_color);
    border:1px solid var(--success_color);color: #fff;
}
.ui_tag_warning {
    background-color:var(--warning_color);
    border:1px solid var(--warning_color);color: #fff;
}
.ui_tag_danger {
    background-color:var(--danger_color);
    border:1px solid var(--danger_color);color: #fff;
}

.ui_tag_primary.ui_tag_plain {
  background-color:#fff;
  color:var(--primary_color);
}
.ui_tag_success.ui_tag_plain {
  background-color:#fff;
  color:var(--success_color);
}
.ui_tag_warning.ui_tag_plain {
  background-color:#fff;
  color:var(--warning_color);
}
.ui_tag_danger.ui_tag_plain {
  background-color:#fff;
  color:var(--danger_color);
} 

/*列表*/
.ui_list,
.ui_list_padded {position: relative;}
.ui_list>li{position: relative;padding:10px 15px;background-color: #fff}
.ui_list_padded {background-color: #fff;}
.ui_list_padded>li{position: relative;padding: 10px 15px;}
.ui_list_arrow>li{
    background: url(../images/icon/right-arrow.png) no-repeat right #fff;
    background-origin: content-box;
    background-size: 8px;
}
.ui_list>li>a,
.ui_list_padded>li>a {display: block;}
.ui_list_hd:after,
.ui_list_padded>li:after,
.ui_list_margin>li:after,
.ui_list>li:after {
    position: absolute;content: '';left: 0;right: 0;bottom: 0;
    border-bottom: 1px solid #e5e5e5;transform: scaleY(.5);
}
.ui_list_hd_padded:after,
.ui_list_padded>li:after {left: 15px}
.ui_list_padded>li:last-child:after {display: none;}

.ui_list_margin>li {margin-bottom: 10px}
.ui_list_hd {position: relative;padding:15px;font-size: 15px;background-color: #fff}
.ui_list_thumb {width: 100px;height: 80px}
.ui_list_item_time {color: #999;font-size: 12px;font-family: arial;}
.ui_list_item_title {
  margin-bottom: 10px;
  color: #000;
  font-size: 17px
}

.ui_touch_item {position: absolute;right: -60px;top:0;bottom: 0}
.ui_del_btn {width: 60px;height: 100%;background-color: var(--danger_color);color: #fff;text-align:center;}
.loading_gif {background: url(../images/icon/loading.gif) no-repeat center #efefef;
    background-size: 16px
}
/*卡片*/
.ui_card {margin: 15px;background-color: #fff;border-radius: 3px;background-clip: padding-box}
.ui_card_hd,
.ui_card_ft {position: relative;padding: 12px 15px;display: flex;
    justify-content: space-between;align-items: center;
}
.ui_card_hd {font-size: 17px;color: #000;background-color: #fff;z-index: 2;border-radius: 3px 3px 0 0;background-clip: padding-box;overflow: hidden;}
.ui_card_hd:after,
.ui_card_ft:after {
    content: '';
    position: absolute;left:0;right: 0;border-bottom: 1px solid #e6e6e6;
    transform:scaleY(.5);
}
.ui_card_hd:after {bottom: 0;}
.ui_card_ft:after {top: 0}
.ui_card_ft {color: #666}
.ui_card_bd {padding: 15px;}

.ui_card_hd.active .ui_arrow_right:after {margin-top: -4px;
    transform: rotate(45deg);
}
.ui_card_inner {transition: all .2s;transform: translate3d(0,-50%,0)}
.ui_card_hd[data-role="toggle"]+.ui_card_bd {height: 0;opacity: 0;padding: 0;} 
.ui_card_hd[data-role="toggle"].active+.ui_card_bd {height: auto;opacity: 1;padding: 15px;}
.ui_card_hd[data-role="toggle"].active+.ui_card_bd .ui_card_inner {transform: translate3d(0,0,0);}

/*进度条*/
.ui_progress {position: relative;height: 10px;background-color: #f2f2f2;border-radius: 2px;background-clip: padding-box;}
.ui_progress>span {position: relative;height: 10px;line-height: 10px;display: block;background-color:var(--primary_color);border-radius: 2px;background-clip: padding-box;
    transition:width .3s;
}
.ui_progress>span:before {z-index: 2;
    position: absolute;content: attr(data-percent);left: 0;top:0;right: 0;bottom: 0;
    text-align: right;font-size: 10px;color: #fff;
}
.ui_progress>span:after {
    position: absolute;content: '';left: 0;top:0;right: 0;bottom: 0;
}
.ui_flash_progress>span:after {
  background-image: linear-gradient(45deg,rgba(255,255,255,.5) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.5) 50%,rgba(255,255,255,.5) 75%,transparent 75%,transparent);
    background-size: 20px 20px;
  animation: flash 5s linear infinite;
}

.ui_circle {
  position: relative;
  display: inline-block;
}
.ui_circle_text {
  position: absolute;
  left: 0;top:0;
  width: 100%;height: 100%;
  justify-content: center;
}
circle {
  transition: stroke-dasharray 800ms;
}

/*marquee*/
.ui_marquee_box {height: 24px;margin-left: 15px;margin-right: 15px;overflow: hidden;}
.ui_marquee {white-space: nowrap;overflow: hidden;}
.ui_marquee_item {line-height: 24px;padding-right: 15px;}
.ui_marquee_row {float: left;width: 800%}
.ui_marquee_row .ui_marquee_row_content {
  float: left; height: 24px;
}
.ui_marquee_row_content .ui_marquee_item {
  float: left;
}

/*流程流转*/
.ui_flow_list {
    padding-left: 20px;background-color: #fff;
}
.ui_flow_list>li {position: relative;padding-top: 15px;padding-bottom: 15px;
    padding-left: 30px;font-size: 15px;
}
.ui_flow_list>li:before {content: '';position: absolute;left: 20px;right: 0;bottom: 0;
    border-bottom: 1px solid #e5e5e5;transform:scaleY(.5);
}
.ui_flow_list>li:last-child:before {border-bottom: none;}
.ui_flow_list>li:after {position: absolute;content: '';left: 0;top: 0;bottom: 0;border-left: 1px solid #e5e5e5;        
}
.ui_flow_list>li:first-child:after {top:50%}
.ui_flow_list>li:last-child:after {bottom:50%}
.ui_flow_list .ui_flow_node_icon {position: absolute;z-index: 2;left: -14px;top:50%;margin-top: -10px;text-align: center;border:4px solid #fff;
    width: 20px;height: 20px;background-color: #e5e5e5;font-family: Arial;color: #fff;border-radius: 100%;background-clip: padding-box
}
.ui_flow_list>li[data-states="on"] .ui_flow_node_icon {text-indent: -10000px;
    background: url(../images/icon/ok.png) no-repeat center var(--primary_color);
    background-size: 10px
}
.ui_flow_list>li[data-states="holding"] .ui_flow_node_icon {text-indent: -10000px;
  background: #fff;
  background: radial-gradient(circle, var(--primary_color) 50%, rgba(70, 125, 185, .5) 50%)
}
.ui_flow_list>li[data-states="cancel"]  .ui_flow_node_icon {text-indent: -10000px;
    background: url(../images/icon/warning.svg) no-repeat center var(--warning_color);
    background-size: 14px
}
.ui_flow_list .tit {margin-bottom: 5px;font-size:17px;}
.ui_flow_list .time {font-size: 14px;color: #999;font-family: Arial}

/*========= 表单 =========*/
.ui_form {background-color: #fff;font-size: 16px}
.ui_form_item { 
    position: relative;padding: 10px 15px;
    align-items:center;
}
.ui_form_item:after {position: absolute;content: '';left: 0;right: 0;bottom: 0;
    border-bottom: 1px solid #e5e5e5;transform: scaleY(.5);
}
.ui_form_content {
    display:flex;
    align-items:center;
    justify-content: flex-end;
    padding-left: 10px;
}
.ui_form_item .ui_ipt {padding-left: 0;padding-right: 0;}
.ui_form_item .ui_select {width: 100%;box-sizing: border-box;}
.ui_select {padding: 5px 20px 5px 5px;background: url(../images/icon/down.png) no-repeat right;
    background-size: 15px;
}
.ui_ipt {padding-left:10px;padding-right:10px;box-sizing:border-box;width: 100%;height: 30px;}
.ui_textarea {width: 100%;padding-top: 5px;padding-bottom: 5px;border: none;box-sizing: border-box;}

.ui_form_layout_right .ui_select {
  direction: rtl;
}
.ui_form_layout_right .ui_ipt {text-align: right;border: none;}
.ui_form_layout_left .ui_form_label {
  width: 80px;
}
.ui_form_layout_left .ui_form_content {  
    justify-content: flex-start;
}
.ui_form_detail .ui_form_label {
  color: #656565;
}

/*单选&复选*/
.ui_radio, .ui_checkbox {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;color: #666;
}
.ui_radio input[type="radio"],
.ui_checkbox input[type="checkbox"] {margin-right: 5px;
    width: 22px;height: 22px;background-color: #fff;
    border: 1px solid #c9c9c9;border-radius: 100%;background-clip: padding-box;
}
.ui_radio input[type="radio"]:checked,
.ui_checkbox input[type="checkbox"]:checked {border-color: var(--primary_color);
    background: url(../images/icon/checked.png) no-repeat center var(--primary_color);
    background-size: 60%;
    transition:background .15s ease-in;
}
.ui_checkbox input[type="checkbox"] {border-radius: 2px}
/*滑块*/
.ui_slider_check input[type="checkbox"] {
  display: inline-block;vertical-align: middle;
  position: relative;width: 46px;height: 24px;border-radius: 15px;background-clip: padding-box;
  background-color: #e5e5e5
}
.ui_slider_check input[type="checkbox"]:after {width: 22px;height: 22px;position: absolute;content: '';left: 0;top: 0;
   border:1px solid #c9c9c9;border-radius: 100%;background-clip: padding-box;
  background-color: #fff;transition:transform .2s;
}
.ui_slider_check input[type="checkbox"]:checked {background-color: var(--primary_color)}
.ui_slider_check input[type="checkbox"]:checked:after {
    transform: translate3d(22px,0,0);
}

/*range*/
.ui_range[type='range']{
    height: 4px;
    border: 0;
    border-radius: 2px;
    background-color: rgb(227,221,216);
    position: relative;appearance: none;
    -webkit-appearance: none;
}
.ui_range[type='range']::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border-color: var(--primary_color);
    background-color: var(--primary_color);appearance: none;
    -webkit-appearance: none ;
}
/*星星评分*/
.ui_star_review>li {float: left;margin-left: 5px;
  width:16px;height: 16px;background: url(../images/icon/star.png) no-repeat;
  background-size: contain;
}
.ui_star_review>li.on,
.ui_star_review>li input,
.ui_star_on {background: url(../images/icon/star_on.png) no-repeat;
  background-size: contain;
  transition:background .15s ease-in;
}
i.ui_star_on {display: inline-block;width: 15px;height: 16px;}

/*图片上传*/
.ui_uploader_box,
.ui_uploader_item,
.ui_uploader {float: left;}
.ui_uploader_item,
.ui_uploader_item img ,
.ui_uploader {width:78px;
    height: 78px;box-sizing: border-box;
}
.ui_uploader_item img {object-fit: cover;}
.ui_uploader_control {padding-top: 10px;overflow: hidden;}
.ui_uploader_item {position: relative;
    margin-right: 9px;
    margin-bottom: 9px;    
    background: no-repeat center center;
    background-size: cover;
}
.ui_uploader {
    position: relative;
    margin-right: 9px;
    margin-bottom: 9px;
    border: 1px solid #D9D9D9;
} 
.ui_uploader:active {background-color: #efefef;}
.ui_uploader:before {height: 2px;width: 40px;}
.ui_uploader:after {width: 2px;height: 40px}
.ui_uploader:before,
.ui_uploader:after {content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #D9D9D9;
} 
.ui_del_pic {
    position:absolute;right: -8px;top: -8px;
    background-color: var(--danger_color);color: #fff;text-align: center;font-size: 16px;
    width: 16px;height: 16px;line-height: 15px;border-radius: 100%;background-clip: padding-box;
}

/*tab*/
.ui_tab {border-bottom: 1px solid #e5e5e5;background-color: #fff}
.ui_tab>li{position: relative;text-align: center;}
.ui_tab>li a {display: inline-block;padding-left: 10px;padding-right: 10px;line-height: 40px;color: #666;
    border-bottom:1px solid transparent;box-sizing: border-box;
}
.ui_tab>li.active a {color: var(--primary_color);/*border-bottom:1px solid var(--primary_color);*/}
.ui_tab+.swiper-scrollbar{position: relative;top: -2px}
.swiper-scrollbar-drag {height: 2px;background:var(--primary_color);position: relative;}

.ui_capsule_tab {margin: 10px 20px;border: 1px solid var(--primary_color);border-radius: 5px;background-clip: padding-box;}
.ui_capsule_tab>a {display: block;padding-top: 5px;padding-bottom: 5px;text-align: center;
  border-left: 1px solid var(--primary_color);color: var(--primary_color)}
.ui_capsule_tab>a:first-child {border-left: none;} 
.ui_capsule_tab>a.active {background-color:var(--primary_color);color: #fff}
[tab-role="tabContent"] {display: none}
[tab-role="tabContent"].active {display: block;}

/*底部tabBar*/
.ui_tabBar {display: table;width: 100%;height: 50px;table-layout: fixed;background-color: #fff}
.ui_tabBar>.item {position: relative;display:table-cell;vertical-align: middle;text-align: center;padding-top: 5px;padding-bottom: 3px;font-size: 12px;}
.ui_tabBar>.item.active {color: var(--primary_color)}
.ui_tabBar_icon {display: inline-block;vertical-align: middle;width:22px;height:22px;margin-bottom: 5px;}
.ui_tabBar_icon img {width:100%;height:100%}
.ui_tabBar>.item:not(.active)  .ui_tabBar_icon {	
	opacity: .5;
}
.ui_tabBar .ui_badge,
.ui_tabBar .ui_badge_dot {position: absolute;top: 2px;left: 50%;margin-left: 8px;}
.ui_badge,
.ui_badge_dot {
    text-align: center;
    min-width: 16px;display: inline-block;
    padding: 2px;
    font-size: 10px;
    color: #fff;font-family: arial;
    background-color: #ff2600;
    border-radius: 100%;
    background-clip: padding-box;    
}
.ui_badge_dot {min-width: 0;padding: 5px;}

/*模态框*/
.ui_modal_wrap {
    display: flex;
    justify-content: center;
    align-items: center;    
    position: fixed;
    z-index: 2017;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}
.ui_modal {
    width: 80%;max-width: 480px;
    background-color: #fff;
    text-align: center;
    border-radius: 8px;
    background-clip: padding-box;
    opacity: 0;
    transform: scale(1.185);
    transition: all .2s;
}
.ui_modal_hd {
    padding: 20px 20px 10px 20px;
    font-size: 18px;
}
.ui_modal_bd {max-height: 360px;max-height: 60vh;overflow-y: auto;
    -webkit-scrolling-overflow:touch;
    padding-left: 10px;padding-right: 10px;color: #888;
    font-size: 15px;
}
.ui_modal_ft { position: relative; line-height: 45px; margin-top: 25px; display: flex;justify-content: center;font-size: 17px;
}
.ui_modal_ft:after { content: " "; position: absolute; left: 0; top: 0; width: 100%; height: 1px; border-top: 1px solid #D5D5D6; color: #D5D5D6; transform-origin: 0 0;transform: scaleY(0.5);}
.ui_modal_btn {position: relative;display:flex;flex: 1;justify-content: center;text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); border-radius:0 0 8px 8px}
.ui_modal_btn:active {background-color: #EEEEEE;}
.ui_modal_default_btn {color: #333}
.ui_modal_primary_btn {color: var(--primary_color)}
.ui_modal_btn+.ui_modal_btn::after { content: " "; position: absolute; left: 0; top: 0; width: 1px; height: 100%; border-left: 1px solid #D5D5D6; color: #D5D5D6; transform-origin: 0 0;transform: scaleX(0.5);}
.ui_modal_in {
  transform: scale(1);
  opacity: 1;
}
.ui_modal_out {
  transform: scale(0.815);
  opacity: 0;
}
.ui_popup_ipt {border:1px solid #e5e5e5;width: 100%;height: 30px;padding-left: 10px;box-sizing: border-box;}

/*popup*/
.ui_mask {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .68);
  display: none;
}
.ui_popup {position: fixed;z-index: 1000;display:none;overflow: hidden;background-color: #fff;}
.ui_popup:not(.ui_popup_center) {
  top:0;left: 0;right: 0;bottom: 0;
}
.ui_popup_inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ui_popup_center {
  left: 8%;
  right: 8%;
  top:50%;
  transform: translate3d(0, -50%, 0);
  max-width: 480px;padding: 20px;
  margin-left: auto;
  margin-right: auto;
  transition: all .25s;
} 
.ui_popup_center .ui_popup_body {
  max-height: 80vh;
}
.ui_popup_round {
  border-radius: 16px 16px 0 0
}
.ui_popup_inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ui_popup_header {position: relative;height: 48px;background-color:#fff;
}
.ui_popup_title {
  line-height: 48px;
  font-size: 17px;
  text-align: center;
}
.ui_popup_body {
  flex: 1;
  overflow-y: auto
}
.ui_translate_top,
.ui_translate_bottom,
.ui_translate_left,
.ui_translate_right,
.ui_translate_origin {transition:all .3s;}
.ui_translate_top {
  transform: translate3d(0, 100%, 0);
}
.ui_translate_bottom {
  transform: translate3d(0, -100%, 0);
}
.ui_translate_origin {
    transform: translate3d(0, 0, 0);
}
.ui_translate_left {transform: translate3d(-100%,0,0)}
.ui_translate_right {transform: translate3d(100%,0,0)}
.ui_close_ico {position: absolute;width: 32px;height: 32px;
  border-radius: 100%;
}
.ui_close_ico:before,
.ui_close_ico:after {
	position: absolute;
	content:'';left:16px;top:0;bottom:0;
	border-left:1px solid #666;
}
.ui_close_ico:before {transform:scale(.65) rotate(45deg);}
.ui_close_ico:after {transform:scale(.65) rotate(-45deg);}

.ui_close_round_ico {
  border: 2px solid #fff;
}
.ui_close_round_ico:before,
.ui_close_round_ico:after {
	border-left:2px solid #fff;
}

.ui_popup_close_btn {
  right: 15px;top:50%;transform: translateY(-50%);
}

/* Ppopover */
.ui_popover {
  position: absolute;
  z-index: 10;
  margin-top: 15px;
  transform: scale(0);
}
[data-role="popover-btn"]:hover ~ [data-role="popover"] { 
  transition:all .3s ease;
  transform-origin: 0 0;
  transform: scale(1); 
}
.ui_popover_content,
.ui_popover_menu {
  max-width: 80vw;
  padding-left: 15px;  
  padding-right: 15px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(50,50,51,.12);
}
.ui_popover_content {
  padding-top: 15px;
  padding-bottom: 15px;
}
.ui_popover_menu_item {
  width: 120px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.ui_popover_menu_item:not(:last-child) {  
  border-bottom:1px solid #efefef;
}
.ui_popover_arrow {
    position: absolute;
    content:'';
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 8px solid;
    border-color: transparent transparent #fff transparent;
}

.ui_popover_dark .ui_popover_content,
.ui_popover_dark .ui_popover_menu {
  background-color: #4b4c4d;
  color: #fff;
}
.ui_popover_dark .ui_popover_arrow {
  border-color: transparent transparent #4b4c4d transparent;
}

/*ActionSheet*/
.ui_actionSheet {position: fixed;
    z-index: 1000;
    background-color: #efefef;
    transform: translate3d(0,100%,0);
}
.ui_actionSheet:not(.ui_actionSheet_middle) {left: 0;right: 0;bottom: 0;
    transform: translate3d(0,100%,0);
}
.ui_actionSheet_middle {left: 10%;right: 10%;top:50%;
    transform: translate3d(0,-50%,0);max-width: 480px;margin-left: auto;margin-right: auto;display: none;
}
.ui_actionSheet_middle,
.ui_actionSheet_middle .ui_actionSheet_bd {border-radius: 3px;background-clip: padding-box;}
.ui_actionSheet_bd {max-height: 50vh;overflow-y: auto;-webkit-scrolling-overflow:touch;
    background-color: #fff
}
.ui_actionSheet_item {
    position: relative;
    padding: 14px 0;
    text-align: center;
    font-size: 16px;
}
a.ui_actionSheet_item {display: block;}
.ui_actionSheet_item:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    border-top: 1px solid #e5e5e5;
    color: #e5e5e5;
    transform: scaleY(0.5);
}
.ui_actionSheet_item:active {
    background-color: #ECECEC;
}
.ui_actionSheet_ft {margin-top: 6px;background-color: #fff}
.ui_actionSheet_active .ui_mask {display: block;}
.ui_actionSheet_active .ui_actionSheet:not(.ui_actionSheet_middle) {
    transform: translate3d(0,0,0);
    transition: all .25s;
}
.ui_actionSheet_active .ui_actionSheet_middle {display: block;}

/*宫格布局*/
.ui_grid {display: table;table-layout: fixed;width: 100%;background-color: #fff;box-sizing: border-box;}
.ui_row {overflow: hidden;/*display: table-row;*/}
.ui_grid [class^="ui_col"] {display: table-cell;vertical-align: middle;position: relative;
  padding-top:20px;padding-bottom:20px;text-align: center;box-sizing:border-box;float: left;
}
[class^="ui_col"]:active {background-color:#ececec}
.grid_icon[size="lg"] {width:70px;height:70px}
.grid_icon[size="md"] {width:40px;height:40px}
.ui_grid_border {border-top: 1px solid #e5e5e5;border-left: 1px solid #e5e5e5;}
.ui_grid_border [class^="ui_col"] {border-right: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5;}
.ui_grid [class^="ui_col"] p {padding-top: 5px}
.ui_col_4 {width: 33.333333%}
.ui_col_3 {width: 25%}
.ui_col_6 {width: 50%}

/*表格*/
.ui_table {width: 100%;background-color: #fff}
.ui_table th,
.ui_table td {text-align: center;padding-top: 10px;padding-bottom: 10px;
  border-top: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5;}
.ui_table th {background-color: #f7f7f7;font-size: 15px;color: #656565}
.ui_table .tl {text-align: left;}
/*字母索引*/
.word_list {position: fixed;
    right: 5px;top:50%;transform:translateY(-50%);
    width: 20px;
    text-align: center;
}
.word_list>a {display: block;height: 20px;line-height:20px;color: #b5b5b5;font-family: arial;}
.word_popup {position: fixed;left: 50%;top:50%;z-index: 100;height:80px;width: 80px;
    margin-left: -40px;margin-top: -40px;background: rgba(0,0,0,.5);
    border-radius: 10px;background-clip: padding-box;color: #fff;font-size: 18px;font-family: arial;
    display: none;
}
.word_popup.active {display: flex;align-items: center;justify-content: center;}

/*swiper*/
.boxModal {display: box;
    display: -webkit-box;
    display: -moz-box;
}
.swiper-container {
    position: relative;
    overflow: hidden;
}
.swiper-container .swiper-slide,
.swiper-container .swiper-slide img {width: 100%}
/*.swiper-pagination-square {position: absolute;bottom:5px;width: 100%;text-align: center;}*/
.swiper-pagination-square>span {
    display: inline-block;width: 20px;height:3px;margin-right:5px;
    background-color: rgba(255,255,255,.5);
}
.swiper-pagination-square>span.swiper-pagination-bullet-active {background-color:#fff;}
.swiper-ft-box {
    z-index: 2;
    background: rgba(0,0,0,.68);
    position: absolute;
    bottom: 0;
    left: 0;right: 0;
    padding: 5px 10px;box-sizing: border-box;
    color: #fff
}

.swiper-pagination-circle {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}
.swiper-pagination-circle > span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    background-color: rgba(255,255,255,.5);
    border-radius: 100%;
    background-clip: padding-box;
}
.swiper-pagination-circle > span.swiper-pagination-bullet-active,
.swiper-pagination-square > span.swiper-pagination-bullet-active {
    background-color:#fff;
}
/*notify*/
.ui_notify,
.ui_notify_success,
.ui_notify_warning,
.ui_notify_danger {
   position: fixed;z-index: 1000;
   left:0;right: 0;top: 0;
   transform: translateY(-100%);
   padding: 12px 24px;
   text-align: center;
   color: #fff;
   transition:all 0.3s;
}
.ui_notify {
   background-color: var(--primary_color);
}
.ui_notify_success {  
   background-color: var(--success_color);
}
.ui_notify_warning {
  background-color: var(--warning_color);
}
.ui_notify_danger {
  background-color: var(--danger_color);
}
.ui_notify_active {  
   transform: translateY(0);
}

/*toast*/
.ui_toast_wrap {
    position: fixed;z-index: 2016;
    left:0;right: 0;top: 0;bottom: 0;   
    transition: all .2s;
}
.ui_toast {
    position: fixed;z-index: 2017;top: 50%;left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px; width: 110px;height: 110px;text-align: center;
    border-radius: 8px;background-clip: padding-box;
    background: rgba(0,0,0,0.68); 
    display: flex;align-items: center;justify-content: center;
}
.toast_top,
.toast_middle,
.toast_bottom {min-width:80px;height: auto;background: rgba(0,0,0,0.68);}
.toast_top {top: 80px;}
.toast_bottom {bottom: 40px;top: auto;}
.toast_top .ui_toast_ico_wrap,
.toast_middle .ui_toast_ico_wrap,
.toast_bottom .ui_toast_ico_wrap {display: none;}
.ui_toast_ico_wrap {overflow: hidden;display: inline-block;}
.ui_toast_ok_ico,
.ui_toast_warning_ico {display: inline-block;margin-bottom: 5px;
    width: 55px;height: 55px;
}
.ui_toast_ok_ico {
    background: url(../images/icon/round-success.svg) no-repeat;
    background-size: contain;
}
.ui_toast_warning_ico {
    background: url(../images/icon/round-warning.svg) no-repeat;
    background-size: contain;
}
.ui_toast_text {color: #fff;font-size: 15px;}
.ui_effect_zoomOut {
   animation:ui_effect_zoomOut ease-out .5s forwards;
}
.ui_effect_fade {
  animation: ui_effect_fade ease-out .5s forwards;
}

/*loading*/
.ui_loading_mask {position: fixed;
    left: 0;    
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
}
.ui_loading_wrap {
    position: fixed;z-index: 2017;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 120px;height: 120px;padding: 15px;box-sizing: border-box;
    opacity: 1;
    border-radius: 5px;background-clip: padding-box;
    background: rgba(0,0,0,.68); 
}
.ui_loading .ui_loading_ico {
  display: block;margin-top: 15px;
  width: 34px;height: 34px;
  margin-left: auto;
  margin-right: auto;
}
.ui_loading_text {
    padding-top: 10px;text-align: center;
    color: #fff;
    font-size: 15px;
    word-wrap: break-word;
    word-break: break-all;
}

.ui_spinner_block {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui_spinner {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
}
.ui_spinner_item {
    width: 10%;
    height: 30%;
    background-color: #000;
    position: absolute;
    top: 40%;
    left: 45%;
    opacity: 0;
    animation: ui_spinner_fade 1s linear infinite;
    border-radius: 10px;
}
.ui_spinner_item:nth-child(1) {transform:rotate(0deg) translate(0, -142%); animation-delay: 0s;}
.ui_spinner_item:nth-child(2) {transform:rotate(30deg) translate(0, -142%); animation-delay: -0.9167s;}
.ui_spinner_item:nth-child(3) {transform:rotate(60deg) translate(0, -142%); animation-delay: -0.833s;}
.ui_spinner_item:nth-child(4) {transform:rotate(90deg) translate(0, -142%); animation-delay: -0.75s;}
.ui_spinner_item:nth-child(5) {transform:rotate(120deg) translate(0, -142%); animation-delay: -0.667s;}
.ui_spinner_item:nth-child(6) {transform:rotate(150deg) translate(0, -142%); animation-delay: -0.5833s;}
.ui_spinner_item:nth-child(7) {transform:rotate(180deg) translate(0, -142%); animation-delay: -0.5s;}
.ui_spinner_item:nth-child(8) {transform:rotate(210deg) translate(0, -142%); animation-delay: -0.41667s;}
.ui_spinner_item:nth-child(9) {transform:rotate(240deg) translate(0, -142%); animation-delay: -0.333s;}
.ui_spinner_item:nth-child(10) {transform:rotate(270deg) translate(0, -142%); animation-delay: -0.25s;}
.ui_spinner_item:nth-child(11) {transform:rotate(300deg) translate(0, -142%); animation-delay: -0.1667s;}
.ui_spinner_item:nth-child(12) {transform:rotate(330deg) translate(0, -142%); animation-delay: -0.0833s;}
.ui_spinner_text {margin-left: 10px;color: #665566;}

/*文章详情*/
.ui_article_detail {
    padding: 15px;font-size: 15px;
}
.ui_article_title {margin-top: 5px;margin-bottom: 10px;font-size: 20px;color: #000}
.ui_article_time {color: #888;font-family: arial;}
.ui_article_name {margin-left: 10px;color:var(--primary_color)}
.ui_article_content {padding-top: 20px}
.ui_article_foot {padding-top: 20px}

/*空状态*/
.ui_empty {
    padding-top: 130px;text-align: center;
}
.ui_empty_ico {display: inline-block;
    width: 80px;height: 80px;
    background: url(../images/icon/empty.png) no-repeat;
    background-size: contain;
}
.ui_empty_text {color: #888;padding-top: 10px}

/*已没有更多*/
.ui_noMore {
    display: flex;align-items: center;
    padding: 20px 15%
}
.ui_noMore:before,
.ui_noMore:after {content: '';flex: 1;border-top: 1px solid #e5e5e5;
}
.ui_noMore_text {display: inline-block;padding-left: 6px;padding-right: 6px;color: #999}

/*广告*/ 
.ui_poster {position: relative;display: block;}
.ui_poster_tips {position: absolute;right: 0;top: 0;padding: 5px 10px;font-size: 12px;color: #fff;background-color: rgba(0, 0, 0, .5);}

